package com.karaoke.oksrv.mapper.master;

import com.karaoke.oksrv.domain.Singer;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SingerMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Singer record);

    int insertSelective(Singer record);

    Singer selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Singer record);

    int updateByPrimaryKey(Singer record);

    List<Singer> selectAll(@Param("areaId") Integer areaId);

    List<Singer> onSearch(@Param("text") String text, @Param("areaId") int areaId);

    //List<Singer> selectByTypeId(int typeId);
}